package com.zb.internetSpider.gui.splitPanel;

import java.awt.Color;
import java.util.List;

import javax.swing.JSplitPane;

import com.zb.internetSpider.gui.SpiderComponent;
import com.zb.internetSpider.gui.SpiderContainer;

public abstract class AbstractSpiderSplitPane extends JSplitPane implements SpiderContainer {
	
	protected List<SpiderContainer> containers;

	protected List<SpiderComponent> components;

	public void init() {
			for(SpiderContainer container : this.containers) {
				container.init();
			}
	}

	@Override
	public void setBackGroundColor(Color color) {
		// TODO Auto-generated method stub

	}
	
	/**
	 * 
	 * @Description: TODO 添加子容器组件
	 * @param @param containers   
	 * @return void  
	 * @throws
	 * @author zb
	 * @date 2019年2月17日 上午12:35:07
	 */
	public abstract void addSpiderContainer(SpiderContainer... containers);
}
